<?php
/**
 * Template for Settings
 *
 * This file contains the template for settings view
 *
 * Joomla! 1.5 component jhtraq
 * Traq type system for Joomla
 *
 * @version $Id: jhtraq.php 2010-03-09 08:28:06 svn $
 * @author JHShop
 * @package Joomla
 * @subpackage jhtraq
 * @license GNU/GPL
 *
 * /administrator/com_jhtraq/views/settings/tmpl/default.php
 */
// no direct acess
defined('_JEXEC') or die('Restricted access');

JToolBarHelper::title(JText::_('COM_JHTRAQ_SETTINGS'), 'generic.png');
JToolBarHelper::save();
JToolBarHelper::cancel();

require_once(JPATH_BASE . "/components/com_jhtraq/helpers/html.php" );
?>
<?php JHTML::_('behavior.tooltip'); ?>

<form action="index.php" method="post" name="adminForm">
<input type="hidden" name="option" value="com_jhtraq" />
<input type="hidden" name="view" value="settings" />
<input type="hidden" name="task" value="" />
<fieldset class="adminform">
<table width="100%" cellspacing="0" class="adminlist">
    <tr>
      <td width="150"><label for="title"><?php echo JText::_('COM_JHTRAQ_JH_TRAQ_TITLE');?></label></td>
      <td><input type="text" name="cfg[title]" id="title" class="inputbox" size="40" value="<?php echo $this->settings['title']; ?>" /></td>
    </tr>
    </tr>
	<tr> 
		<td width="150"><label for="captcha_engine"><?php echo JText::_('COM_JHTRAQ_CAPTCHA_ENGINE');?></label></td>
		<td><select name="cfg[captcha_engine]" id="captcha_engine" class="select">
            <?php echo(HTMLHelper::select($this->engines(), $this->settings["captcha_engine"])); ?>
            </select>
        </td>    
	</tr>
	<tr>
      <td width="150"><label for="title"><?php echo JText::_('COM_JHTRAQ_RECAPTCHA_PRIVATE_KEY');?></label></td>
      <td><input type="text" name="cfg[recaptcha_privatekey]" id="title" class="inputbox" size="40" value="<?php echo $this->settings['recaptcha_privatekey']; ?>" /></td>
    </tr>
        <tr>
      <td width="150"><label for="title"><?php echo JText::_('COM_JHTRAQ_RECAPTCHA_PUBLIC_KEY');?></label></td>
      <td><input type="text" name="cfg[recaptcha_publickey]" id="title" class="inputbox" size="40" value="<?php echo $this->settings['recaptcha_publickey']; ?>" /></td>
    </tr>
	
</table>
</fieldset>
</form>
